{% extends "base.html" %}
{% block title %}{{page_title}}{% endblock %}
{% block content%}

<div class="userlist">
<form id="form1" name="form1" method="post" action="">
<p>日期：<input name="date" type="text">&nbsp;&nbsp;
第<select name="order" size="1" >
    <option value="1">1</option>
    <option value="2">2</option>
    <option value="3">3</option>
    <option value="4">4</option>
    <option value="5">5</option>
    <option value="6">6</option>
    <option value="7">7</option>
    <option value="8">8</option>
    <option value="9">9</option>    
</select>节
</p>
<table  class="userlisttable" id="thetable">
  <tr>
    <th scope="col">座号</th>
    <th scope="col">姓名</th>
    <th scope="col" colspan="5">点名</th>
  </tr>
{% for stu in Students %}
  <tr>
    <td>{{stu.sitenum}}</td>
    <td><a href="/show_user_{{stu.key}}.html">{{stu.user.first_name}}</a></td>
    <td><label>
      <input type="radio" name="roll_call_{{stu.sitenum}}" value="1" id="roll_call_0" checked />
      正常</label></td>
    <td><label>
      <input type="radio" name="roll_call_{{stu.sitenum}}" value="2" id="roll_call_1" />
      迟到</label></td>
    <td><label>
      <input type="radio" name="roll_call_{{stu.sitenum}}" value="3" id="roll_call_2" />
      旷课</label></td>
    <td><label>
      <input type="radio" name="roll_call_{{stu.sitenum}}" value="4" id="roll_call_3" />
      早退</label></td>
    <td><label>
      <input type="radio" name="roll_call_{{stu.sitenum}}" value="5" id="roll_call_4" />
      请假</label></td>
  </tr>
{% endfor %}
</table>
<p><input name="" type="submit" value="提交"></p>
</form>
</div>
{% endblock %}
